18dca961074ade328f3b142bc6e5d3aed2ae8154,src/edu/stanford/nlp/sentiment/SentimentPipeline.java,SentimentPipeline,main,#String[]#,210

Before Change


      // Process a file.  The pipeline will do tokenization, which
      // means it will split it into sentences as best as possible
      // with the tokenizer.
      String text = getText(inputFormat, filename);
      Annotation annotation = new Annotation(text);
      pipeline.annotate(annotation);

      for (CoreMap sentence : annotation.get(CoreAnnotations.SentencesAnnotation.class)) {

After Change


      // Process a file.  The pipeline will do tokenization, which
      // means it will split it into sentences as best as possible
      // with the tokenizer.
      Annotation annotation = getAnnotation(inputFormat, filename);
      pipeline.annotate(annotation);

      for (CoreMap sentence : annotation.get(CoreAnnotations.SentencesAnnotation.class)) {